Integrand size = 26, antiderivative size = 147 \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\frac {256 i a^4 \sec ^7(c+d x)}{3003 d (a+i a \tan (c+d x))^{7/2}}+\frac {64 i a^3 \sec ^7(c+d x)}{429 d (a+i a \tan (c+d x))^{5/2}}+\frac {24 i a^2 \sec ^7(c+d x)}{143 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}} \]
[Out]
Time = 0.34 (sec) , antiderivative size = 147, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {3575, 3574} \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\frac {256 i a^4 \sec ^7(c+d x)}{3003 d (a+i a \tan (c+d x))^{7/2}}+\frac {64 i a^3 \sec ^7(c+d x)}{429 d (a+i a \tan (c+d x))^{5/2}}+\frac {24 i a^2 \sec ^7(c+d x)}{143 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}} \]
[In]
[Out]
Rule 3574
Rule 3575
Rubi steps \begin{align*} \text {integral}& = \frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}}+\frac {1}{13} (12 a) \int \frac {\sec ^7(c+d x)}{\sqrt {a+i a \tan (c+d x)}} \, dx \\ & = \frac {24 i a^2 \sec ^7(c+d x)}{143 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}}+\frac {1}{143} \left (96 a^2\right ) \int \frac {\sec ^7(c+d x)}{(a+i a \tan (c+d x))^{3/2}} \, dx \\ & = \frac {64 i a^3 \sec ^7(c+d x)}{429 d (a+i a \tan (c+d x))^{5/2}}+\frac {24 i a^2 \sec ^7(c+d x)}{143 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}}+\frac {1}{429} \left (128 a^3\right ) \int \frac {\sec ^7(c+d x)}{(a+i a \tan (c+d x))^{5/2}} \, dx \\ & = \frac {256 i a^4 \sec ^7(c+d x)}{3003 d (a+i a \tan (c+d x))^{7/2}}+\frac {64 i a^3 \sec ^7(c+d x)}{429 d (a+i a \tan (c+d x))^{5/2}}+\frac {24 i a^2 \sec ^7(c+d x)}{143 d (a+i a \tan (c+d x))^{3/2}}+\frac {2 i a \sec ^7(c+d x)}{13 d \sqrt {a+i a \tan (c+d x)}} \\ \end{align*}
Time = 0.98 (sec) , antiderivative size = 95, normalized size of antiderivative = 0.65 \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\frac {2 \sec ^6(c+d x) (390 \cos (c+d x)+445 \cos (3 (c+d x))+7 i (26 \sin (c+d x)+59 \sin (3 (c+d x)))) (i \cos (4 (c+d x))+\sin (4 (c+d x))) \sqrt {a+i a \tan (c+d x)}}{3003 d} \]
[In]
[Out]
Time = 8.63 (sec) , antiderivative size = 116, normalized size of antiderivative = 0.79
method | result | size |
default | \(\frac {2 \sqrt {a \left (1+i \tan \left (d x +c \right )\right )}\, \left (1024 i \cos \left (d x +c \right )+1024 \sin \left (d x +c \right )-128 i \sec \left (d x +c \right )+384 \sec \left (d x +c \right ) \tan \left (d x +c \right )-40 i \left (\sec ^{3}\left (d x +c \right )\right )+280 \tan \left (d x +c \right ) \left (\sec ^{3}\left (d x +c \right )\right )-21 i \left (\sec ^{5}\left (d x +c \right )\right )+231 \tan \left (d x +c \right ) \left (\sec ^{5}\left (d x +c \right )\right )\right )}{3003 d}\) | \(116\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 132, normalized size of antiderivative = 0.90 \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=-\frac {128 \, \sqrt {2} \sqrt {\frac {a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} {\left (-429 i \, e^{\left (6 i \, d x + 6 i \, c\right )} - 286 i \, e^{\left (4 i \, d x + 4 i \, c\right )} - 104 i \, e^{\left (2 i \, d x + 2 i \, c\right )} - 16 i\right )}}{3003 \, {\left (d e^{\left (12 i \, d x + 12 i \, c\right )} + 6 \, d e^{\left (10 i \, d x + 10 i \, c\right )} + 15 \, d e^{\left (8 i \, d x + 8 i \, c\right )} + 20 \, d e^{\left (6 i \, d x + 6 i \, c\right )} + 15 \, d e^{\left (4 i \, d x + 4 i \, c\right )} + 6 \, d e^{\left (2 i \, d x + 2 i \, c\right )} + d\right )}} \]
[In]
[Out]
\[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\int \sqrt {i a \left (\tan {\left (c + d x \right )} - i\right )} \sec ^{7}{\left (c + d x \right )}\, dx \]
[In]
[Out]
Timed out. \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\int { \sqrt {i \, a \tan \left (d x + c\right ) + a} \sec \left (d x + c\right )^{7} \,d x } \]
[In]
[Out]
Time = 9.18 (sec) , antiderivative size = 289, normalized size of antiderivative = 1.97 \[ \int \sec ^7(c+d x) \sqrt {a+i a \tan (c+d x)} \, dx=\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,128{}\mathrm {i}}{7\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^3}-\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,128{}\mathrm {i}}{3\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^4}+\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,384{}\mathrm {i}}{11\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^5}-\frac {{\mathrm {e}}^{-c\,1{}\mathrm {i}-d\,x\,1{}\mathrm {i}}\,\sqrt {a-\frac {a\,\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}\,1{}\mathrm {i}-\mathrm {i}\right )\,1{}\mathrm {i}}{{\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1}}\,128{}\mathrm {i}}{13\,d\,{\left ({\mathrm {e}}^{c\,2{}\mathrm {i}+d\,x\,2{}\mathrm {i}}+1\right )}^6} \]
[In]
[Out]